package dao;

import java.sql.SQLException;
import java.util.List;

import model.UserModel;

public interface UserDao {
	public UserModel findByUP(UserModel userModel) throws Exception;
	public void add(UserModel userModel) throws Exception;
	List<UserModel> findByName(String username)throws SQLException;
	public UserModel modifyByP(UserModel userModel,String oldpassword) throws Exception;
	public UserModel modifyByM(UserModel userModel) throws Exception;
}
